package com.qingneng.budget.dao;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class DemoDaoImpl extends SqlMapClientDaoSupport  implements IDemoDao {

	public List queryDemo() {
		List list = getSqlMapClientTemplate().queryForList("qn_db_contractinfo.select_contractinfo_sql");
		return list;
	}
	
	public Integer queryCounts() {
		Integer total =  (Integer)getSqlMapClientTemplate().queryForObject("qn_db_contractinfo.select_contractinfo_count_sql");	
		return total;
	}

}